package com.bort.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bort.system.info.CostInfo;
import com.bort.system.info.OrderInfo;
import com.bort.system.model.TOrder;
import com.bort.system.utils.Result;

import java.math.BigDecimal;
import java.util.Map;

public interface TOrderService extends IService<TOrder> {
    Result<Page<OrderInfo>> getOrderList(Page<OrderInfo> pager, Map<String, Object> map);

    Result<Map<String, BigDecimal>> dataStatistic(Map<String, Object> map);

    Result addCost(CostInfo costInfo);
}
